package com.fifth.sso.feign;

import com.fifth.common.pojo.entity.EmpInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @ProjectName: mrcai
 * @Package: com.fifth.sso.feign
 * @ClassName: EmpFeign
 * @Author: 王振华
 * @Description:
 * @Date: 2022/8/29 20:56
 * @Version: 1.0
 */
@FeignClient(value = "mrcai-emp")
public interface EmpFeign {
    @GetMapping("/api/emp/findByPhone/{telephone}")
    public EmpInfo findByPhone(@PathVariable String telephone);
}
